const router = require('koa-router')()
const info = require('debug')('log:info')

module.exports = router;

// router.get('/index.html',ctx=>{ 
// 	info('url'+ctx.url);
// 	ctx.render('../index.html');
// })

const home = require('./home.js');
const publish = require('./publish.js');
const users = require('./users.js');
router.use('/publish',publish.routes());
router.use('/users',users.routes());
router.use(home.routes());
